<div class="isi">
    <div id="tabs">
        <ul>
            <li><a href="#tabs-1">Account Section</a></li>
            <li><a href="#tabs-2">General Ledger Account</a></li>            
        </ul>
		<div id='tabs-1' style='padding: 10px 2px 2px 2px;'>
		 <table id='class' class='display'>
		  <thead>
		   <tr>
		     <th> No </th>
			 <th> Account No</th>
			 <th> Description </th>
			 <th> Account Parent </th>
			 <th> Action </th>
		   </tr>
		  </thead>
		  <tbody>
		   <?php
		    $n =1 ;
			foreach($accParent_list as $accClass) {
			  echo "<tr><td>  $n </td>
					<td>$accClass->account_code</td>
					<td>$accClass->account_name</td>
					<td>$accClass->account_parent</td>
					<td> $link_lihat $link_hapus </td></tr>";
			  $n++;
			}
		   ?>
		  </tbody>
		 </table>
		</div>
        <div id="tabs-2" style="padding: 10px 2px 2px 2px;">
            <table id="account" class="display"  >
                <thead>
                    <tr>
                        <th>No</th>
                        <th>Account No</th>
                        <th>Description</th>
                        <th>Head</th>
                        <th>Action</th>
                    </tr>            
                </thead>
                <tbody>
                    <?php
                    $n = 1;
                    foreach ($getHead as $head) {
                        foreach ($head as $row) {
                            if($row[pdt_status]=='H' | $row[pdt_status]=='T') {
                                echo "<tr style='font-weight:bold;'>"; 
                            }else { echo "<tr>" ; }
                            
                            echo "<td> $n </td>";
                            echo "<td>$row[account_code]</td>";
                            echo "<td> $row[account_name]</td>";
                            echo "<td> $row[account_parent]</td>";
                            echo "<td> $link_lihat $link_hapus </td>";
                            echo "</tr>";
                            $n++;
                        }
                    }
                    ?>
                </tbody>
            </table>   

        </div>        
        <div id="tabs-1" style="padding:10px;">
            
        </div>
    </div>
    <div class="clear"></div>
</div>